package cn.gx.learn.security_boot_jwt_websocket.appiontment.dal.data.wrapper;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class AppiontmentWrapper {
    private List<AppiontmentRDO> appiontmentRDOList;

    public void add(AppiontmentRDO appiontmentRDO){
        if(appiontmentRDOList==null){
            appiontmentRDOList=new ArrayList<>();
        }
        appiontmentRDOList.add(appiontmentRDO);
    }
}
